#pragma once

#ifdef _WIN32

namespace one_rag {
  namespace impl {
    class DataFile : public Object
    {
      HANDLE _hf;
    public:
      DataFile();
      ~DataFile();

      bool Open(const oschar* fileName,unsigned flags);
      long Read(void* buffer,long len=-1);
      long Size();

    };

    typedef class DataFile File;

  }
}

#endif
